package com.hxy.service;

import com.github.pagehelper.PageInfo;
import com.hxy.pojo.Addressbook;
import com.hxy.pojo.vo.AddressBookVo;

import java.util.List;

/**
 * @author feiyu
 */
public interface AddBookService {
    int deleteByPrimaryKey(Integer id);

    int insert(Addressbook record);

    Addressbook selectByPrimaryKey(Integer id);

    List<Addressbook> selectAll();

    int updateByPrimaryKey(Addressbook record);

    PageInfo<AddressBookVo> selectPageInfo(Integer page, int limit, String stuffName, String sex, String phone, String branch);
}
